package com.example.mydemo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
/**
 * <p>
 * 
 * </p>
 *
 * @author syf
 * @since 2025-06-06
 */
@Getter
@Setter
@ToString
@TableName("c_employee")
public class Employee implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 员工编号
     */
    private String employeeId;

    /**
     * 员工姓名
     */
    private String name;

    /**
     * 员工年龄
     */
    private Integer age;

    /**
     * 性别
     */
    private String gender;

    /**
     * 部门ID
     */
    private Long departmentId;

    /**
     * 职位
     */
    private String jobTitle;

    /**
     * 雇佣时间
     */
    private LocalDate hireDate;

    /**
     * 状态
     */
    private String status;

    private Long isDelete;
    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;
}
